package com.hpeng.sys.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

//资产计量单位实体
@Entity
@Table(name = "ASSET_MEASUREMENT_UNIT")
public class AssetMeasurementUnit {
	private String unitid;
	private String unitname;
	private String unitstauts;

	public AssetMeasurementUnit() {

	}
	@Id
	@GeneratedValue(generator = "generator")
	@GenericGenerator(name="generator",strategy="uuid")  
	@Column(name = "UNITID", length = 32)
	public String getUnitid() {
		return unitid;
	}

	public void setUnitid(String unitid) {
		this.unitid = unitid;
	}
	@Column(name = "UNITNAME", length = 20)
	public String getUnitname() {
		return unitname;
	}

	public void setUnitname(String unitname) {
		this.unitname = unitname;
	}
	@Column(name = "UNITSTATUS", length = 1)
	public String getUnitstauts() {
		return unitstauts;
	}

	public void setUnitstauts(String unitstauts) {
		this.unitstauts = unitstauts;
	}
}
